Release 10.1A: OpenEdge Development:
Basic Database Tools


Changing the primary index for a table

To view which index is currently the primary index for a table, run a detailed table report or a quick index report. The primary index is flagged with a “p.”

Note: A word index cannot be the primary index.

To change the primary index for a table:

  1. Choose Schema Index Editor. The Index Editor alphabetically lists all the tables defined for your database.
  2. Select a table.
  3. Choose Change Primary. The Index Editor prompts you to verify that you want to make the selected index the primary index for the table.
  4. Choose Yes to make the selected index the primary index for the table. The main window of the Index Editor reappears.
  5. Choose Exit to apply the change. An alert box asking if you want to apply or undo the changes to the database, or if you want to make other changes appears.
  6. Choose Apply Changes. The Data Dictionary main window appears.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095